]> dgit.raspbian.org Git - gnome-shell.git/commit
ScreenShield: wait for stage mapping before taking a grab
authorGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 4 Sep 2012 18:47:20 +0000 (20:47 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 13 Sep 2012 22:54:50 +0000 (00:54 +0200)
commitbe290fafe7ff8abbecdeb760f8adc0de28466558
treea434f1d562df1a30c80958c51382515eb66e2055
parentb7ae74edb92fea5e16d197bdff16fcc98509d228
ScreenShield: wait for stage mapping before taking a grab

In gdm, we would attempt to become modal during the synchronous initialization,
and this would fail, as X prevents grabs on unmapped windows. Instead,
wait for the stage to be visible before becoming modal.

https://bugzilla.gnome.org/show_bug.cgi?id=683357
js/ui/screenShield.js